package string;

public class StringBuilderDemo {
    StringBuilder b=new StringBuilder();
    StringBuilder c=new StringBuilder("niganma");

    /*
    互转
     */
    String string="abc";
    StringBuilder builder=new StringBuilder(string);
    String s=builder.toString();
    /*
    追加内容:appen()
    替换内容:repla(含头不含尾)
    删除部分内容:delete(含头不含尾)
    插入内容:inse():
     */
    public static void main(String[] args) {
        String q="a";
        StringBuilder buil=new StringBuilder(q);
        for (int i=0;i<10000;i++){
            buil.append(+i);
        }
        System.out.println("执行网");
    }
}
